package ro.msg.office.ticketmanager.DO;

import java.util.Set;

public class UserDO {

	private Long id;
	private String username;
	private String password;
	private Long userType;
	private String name;
	private DepartmentDO department;
	private Set<TicketDO> tickets;
	public UserDO(){}
	
	

	public UserDO(Long id, String username, String password, Long userType,
			String name, DepartmentDO department) {
		this.id = id;
		this.username = username;
		this.password = password;
		this.userType = userType;
		this.name = name;
		this.department = department;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Long getUserType() {
		return userType;
	}

	public void setUserType(Long userType) {
		this.userType = userType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
	public DepartmentDO getDepartment() {
		return department;
	}

	public void setDepartment(DepartmentDO department) {
		this.department = department;
	}

	public Set<TicketDO> getTickets(){
		return tickets;
	}
	
	public void setTickets(Set<TicketDO> tickets){
		this.tickets = tickets;
	}
}